home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 19d2.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.6 KB  |  62 lines

  1. on startMovie
  2.   global qtChan
  3.   puppetSprite(46, 1)
  4.   qtChan = 11
  5.   sprite(qtChan).volume = 256
  6.   preLoad(qtChan - 1)
  7.   set the mouseDownScript to EMPTY
  8.   set the mouseUpScript to EMPTY
  9. end
  10.  
  11. on idle
  12.   global gCursorReady
  13.   if gCursorReady = 1 then
  14.     cursor(200)
  15.     checkCursors()
  16.     set the locH of sprite 46 to the mouseH
  17.     set the locV of sprite 46 to the mouseV
  18.     updateStage()
  19.   end if
  20. end
  21.  
  22. on checkCursors
  23.   global gMagCursor
  24.   set the castNum of sprite 46 to the number of member "curs1"
  25.   if rollOver(4) then
  26.     set the castNum of sprite 46 to the number of member "hotCursor"
  27.   end if
  28.   if rollOver(5) then
  29.     set the castNum of sprite 46 to the number of member "hotCursor"
  30.   end if
  31.   if rollOver(6) then
  32.     set the castNum of sprite 46 to the number of member "hotCursor"
  33.   end if
  34.   if rollOver(7) then
  35.     set the castNum of sprite 46 to the number of member "hotCursor"
  36.   end if
  37.   if rollOver(8) then
  38.     set the castNum of sprite 46 to the number of member "hotCursor"
  39.   end if
  40.   if rollOver(9) then
  41.     set the castNum of sprite 46 to the number of member "curs1"
  42.   end if
  43.   repeat with i = 16 to 18
  44.     if rollOver(i) then
  45.       set the castNum of sprite 46 to the number of member "hotCursor"
  46.     end if
  47.   end repeat
  48.   repeat with i = 33 to 35
  49.     if rollOver(i) then
  50.       set the castNum of sprite 46 to the number of member "hotCursor"
  51.     end if
  52.   end repeat
  53.   if rollOver(26) then
  54.     set the castNum of sprite 46 to the number of member "hotCursor"
  55.   end if
  56.   repeat with i = 40 to 42
  57.     if rollOver(i) then
  58.       set the castNum of sprite 46 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61. end
  62.